package city;

import java.util.Collection;

import javax.ejb.EJBLocalObject;

import company.Company;

import country.Country;
import descriptor.CityDescriptor;
import descriptor.CompaniesListDescriptor;

public interface City extends EJBLocalObject 
{	
	// simple attributes
	public int getId();
	public void setId(int id);
	
	public String getName();
	public void setName(String name);
	
	public Country getCountry();
	public void setCountry(Country country);
	
	public Collection<Company> getCompanies();
	public void setCompanies(Collection<Company> companies);
	
	public CityDescriptor getDescriptor();
	
	public CompaniesListDescriptor getCompaniesListDescriptor();
}
